package edu.fiu.accesslog.parser;

import edu.fiu.accesslog.SingleAccessLog;

/**
 * @author Hasan Mahmud @date May 25, 2012
 *
 */
public interface IParser
{

      /**
       * IMplement parse logic for a specific web server
       *
       * @param line
       * @param includeExtn
       * @return
       */
      public SingleAccessLog parse(String line, String includeExtn);

      /**
       * Set the format to be used as per user input.
       *
       * @param format
       */
      public void setFormat(String format);
}
